<?php
require_once("Model/Core_model.php");
require_once("Helper/Helper.php");
class Controller
{
    public $uri;
    public $class;
    public $method;
    public $login;
    public $cookie;
    public $user;
    public $email;
    public $helper;
    public $lang;
    public $error;
    public $sub;
    public $ip;
    
    function __construct() {
        $sub = array(
            'blog','user','shop'
        );
        $this->model = new Core_model;
        $this->helper = new Helper(array('model' => $this->model));
        $this->uri = $this->helper->get_uri();
        //self::login($_COOKIE['acc_email'],$_COOKIE['acc_pass']);
      
        $this->ip = $_SERVER['REMOTE_ADDR'];
    }
    
	
}
?>
